#!/bin/sh -e

cargo build --release

install -Dm755 target/release/fd "$1/usr/bin/fd"
install -Dm644 doc/fd.1 "$1/usr/share/man/man1/fd.1"
